package com.hql.handicraft_display_system.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hql
 * @since 2022-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Crafts implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 所属展览id
     */
    private Integer exhibitionId;

    /**
     * 展览时间
     */
    private LocalDateTime exhibitionTime;

    /**
     * 售卖价格
     */
    private Float price;

    /**
     * 工艺品状态
     */
    private Integer status;

    /**
     * 是否删除，1删除，0未删除
     */
    private Integer isDelete;

    /**
     * 工艺品名
     */
    private String name;

    /**
     * 图片路径
     */
    private String indexImgUrl;
}
